PS=000, DMA=0, TOF=0, CPWMS=0, TOIE=0, CMOD=00
Status and Control
PS | Prescale Factor Selection 0 (000): Divide by 1 1 (001): Divide by 2 2 (010): Divide by 4 3 (011): Divide by 8 4 (100): Divide by 16 5 (101): Divide by 32 6 (110): Divide by 64 7 (111): Divide by 128 |
CMOD | Clock Mode Selection 0 (00): TPM counter is disabled 1 (01): TPM counter increments on every TPM counter clock 2 (10): TPM counter increments on rising edge of TPM_EXTCLK synchronized to the TPM counter clock |
CPWMS | Center-Aligned PWM Select 0 (0): TPM counter operates in up counting mode. 1 (1): TPM counter operates in up-down counting mode. |
TOIE | Timer Overflow Interrupt Enable 0 (0): Disable TOF interrupts. Use software polling or DMA request. 1 (1): Enable TOF interrupts. An interrupt is generated when TOF equals one. |
TOF | Timer Overflow Flag 0 (0): TPM counter has not overflowed. 1 (1): TPM counter has overflowed. |
DMA | DMA Enable 0 (0): Disables DMA transfers. 1 (1): Enables DMA transfers. |